<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>MyHtml.html</title>

<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="this is my page">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<script src="./js/jquery.min.js" charset="utf-8"></script>
<!-- 导入加载地址下拉栏所需js文件-->
<script src="./js/distpicker.js" charset="utf-8"></script>
<!-- 导入初始化地址和处理地址格式所需js文件-->
<script src="./js/myAddress.js" charset="utf-8"></script>
<link rel="stylesheet" href="css/main.css">
<script type="text/javascript">
	var addressId = "address";
	var selectId = "addressList";
	function submitdemo(){
		getFormatAddress("province", "city", "district", "street");
		$("#demo").submit();
	}
</script>
</head>

<body>
	<form id="demo" action="showAddress.jsp">
		<table>
		<tr height="50px">
			<td>地址</td>
			<td>
				<!-- 配合插件使用的隐藏域 --> 
				<input type="text" name="address" id="address" value="山西省-太原市-尖草坪区-中北大学"/>
				<div id="addressList">
					<select id="province"></select>
					<select id="city"></select>
					<select id="district"></select>*
				</div>
			</td>
		</tr>
		<tr height="50px">
			<td width="30%">详细地址</td>
			<td><input type="text" id="street">*</td>
		</tr>
		<tr><td><input type="submit" onclick="submitdemo()" value="提交"></td></tr>
		</table>
	</form>
</body>
</html>
